博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
kindeditor 代码高亮设置
阅读量:4613 次
发布时间:2019-06-09

本文共 487 字,大约阅读时间需要 1 分钟。

个人博客 ,没有代码高亮还是不行。 

    var options = {
cssPath: ['/static/kindeditor/plugins/code/prettify.css',],

 

再设置一下css :

pre.prettyprint {
border: 0; border-left: 3px solid rgb(204, 204, 204); margin-left: 2em; padding: 0.5em; display: block; margin: 1em 0px; white-space: pre; word-break:break-all; word-wrap: break-word; word-break: normal; }

 

 

 

 

 

 

转载于:https://www.cnblogs.com/yeelone/archive/2013/01/10/2854895.html

你可能感兴趣的文章
20171013_数据库新环境后期操作
查看>>
poj 1654 && poj 1675
查看>>
运维派 企业面试题1 监控MySQL主从同步是否异常
查看>>
Docker 版本
查看>>
poj 1753 Flip Game
查看>>
在深信服实习是怎样的体验(研发测试岗)
查看>>
Linux免密码登陆
查看>>
SpringMVC中文件的上传(上传到服务器)和下载问题(二)--------下载
查看>>
Socket & TCP &HTTP
查看>>
osip及eXosip的编译方法
查看>>
Hibernate composite key
查看>>
[CF Round #294 div2] D. A and B and Interesting Substrings 【Map】
查看>>
keepalived+nginx安装配置
查看>>
我的2015---找寻真实的自己
查看>>
android编译遇到问题修改
查看>>
解决Ubuntu18.04.2远程桌面Xrdp登录蓝屏问题
查看>>
Git的安装和使用教程详解
查看>>
lsof命令详解
查看>>
常用模块,异常处理
查看>>
父窗口与子窗口之间的传值
查看>>